import {get} from './commonRequest'
// /api/v1/machines
const getMachineList = () => {
  return get('/api/v1/machines')
}

// /api/v1/machines/{machine_id}
const getMachineEvent = (id: string) => {
  const url = '/api/v1/machines/' + id 
  return get(url)
} 

export {getMachineList, getMachineEvent}